import http from "../utils/http";


export const GetUserList = (params:any): any => {
    return http.get("/api/userList",{
        params:params
    })
}

export const AddUser = (data:any): any => {
    return http.post("/api/user",data)
}

export const UpdateUser = (data:any): any => {
    return http.put("/api/user",data)
}

export const DeleteUser = (data:any): any => {
    return http.delete("/api/user",{
        data:data
    })
}
